/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.wlhy.mapper;


import com.msk.sys.mapper.CrudDao;
import com.msk.wlhy.domain.HtTransportList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>[]</p>
 * <p>作者：zkp</p>
 * <p>邮箱：zkp@xiangyou.com</p>
 * <p>创建时间： 2018-06-08 </p>
 * <p>类说明：派车单管理DAO接口 </p>
 * <p>修改记录：</p>
 */
@Repository
public interface HtTransportListDao extends CrudDao<HtTransportList> {
	public Long findCount(HtTransportList htTransportList);

	/**
	 * @description findCurrentList
	 * @date 2018-7-3
	 * @author chuming
	 * @param htTransportList
	 * @return
	 */
	public List<HtTransportList> findCurrentList(HtTransportList htTransportList);

	/**
	 * 获取各个部门的运输单数量信息
	 * @description getCountGroupbyOffice
	 * @date 2018-7-10
	 * @author chuming
	 * @param htTransportList
	 * @return
	 */
	public List<Map<String, Object>> getCountGroupbyOffice(HtTransportList htTransportList);

	/**
	 * @description updateDelFlag
	 * @date 2018-8-2
	 * @author chuming
	 * @param htTransportList
	 */
	public void updateDelFlag(HtTransportList htTransportList);
	
	/**
	 * @description updateDelFlag
	 * @date 2018-8-2
	 * @author chuming
	 * @param htTransportList
	 */
	public void updateStatus(HtTransportList htTransportList);

	/**
	 * @description updateDelFlag
	 * @date 2018-8-2
	 * @author cmy
	 * @param htTransportList
	 */
	public void updateFile(HtTransportList htTransportList);

	/**
	 * @description getAllCount
	 * @date 2018-8-13
	 * @author chuming
	 * @return
	 */
	public Long getAllCount();
	
	/**
	 * @description getOrderList
	 * @date 2018-8-13
	 * @author chuming
	 * @param phone
	 * @return
	 */
	public List<HtTransportList> getOrderList(String phone);
	
	/**
	 * @description getMyOrderList
	 * @date 2018-8-13
	 * @author chuming
	 * @param htTransportList
	 * @return
	 */
	public List<HtTransportList> getMyOrderList(HtTransportList htTransportList);

	/**
	 * 获取日派车单数量
	 * @return
	 */
	public int findDateCount();

	/**
	 * 根据id串查询数据
	 * @param id
	 * @return
	 */
	public int findInfoById(String id);

	/**
	 * 根据托运单查询派车单数量
	 * @param id
	 * @return
	 */
	public int checkCarCount(String id);
	/**
	 * 描述: 查找派车单列表
	 * @author yangjy
	 * @date 2023/6/13 18:00
	 * @param htTransportList
	 * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
	 */
	List<Map<String,Object>> findHtTransportList (HtTransportList htTransportList);
	/**
	 * 描述:获取运单录入需要的数据
	 * @author yangjy
	 * @date 2023/7/28 13:55
	 * @param id
	 * @return java.util.Map<java.lang.String,java.lang.Object>
	*/
	Map<String,Object> entryOfWaybill (@Param("id") String id);
	/**
	 * 描述:我的运单数量
	 * @author yangjy
	 * @date 2023/7/18 16:14
	 * @param htTransportList
	 * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
	 */
	List<Map<String,Object>> htTransportCount(HtTransportList htTransportList);
	/**
	 * @author 作者: yangjy
	 * @description 描述:派车单详情
	 * @date 时间: 2023/5/31 10:06
	 * @return 返回值: HtTransportList
	 */
	public HtTransportList selectDispatchOrderById (HtTransportList htTransportList);

}